<?php
/**
 * 婵炴潙顑堥惁顖炲籍閸洘锛熼悹渚婄磿閻ｏ拷
 */
$sec = 6695;
/*echo "<script type=\"text/javascript\">alert('濡ょ姴鐭侀惁澶愭儘娓氾拷閺佸﹦鎷犻敓锟�!');</script>";
echo floor($sec/3600);
echo '<br />'.floor(($sec%3600)/60);
*/



//echo (int)'lk'
//var_dump( is_int('123213' ) );

/*
$mysqli = new mysqli('192.168.1.151', 'wgz', 'ad369/*-', 'kkyoo_rooms');
$re = $mysqli->query("
	SELECT ( YEARWEEK(NOW()) - IFNULL(YEARWEEK(updated), 0) ) AS result FROM kkyoo_rank.bouns_object WHERE bouns_object.object_id = 2 LIMIT 1;
");
if (is_object($re)){
	var_dump($re->fetch_assoc());
	
}*/



preg_match('/room_id:(.*);room_name:(.*);/', "room_id:100008;room_name:然\' 燃音oо;", $re); 
var_dump($re);
?>